<#--<#assign base=request.contextPath />-->
<#include "/WEB-INF/views/include/header.html">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${base}/static/css/style.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${base}/static/jquery/js/jquery.js"></script>
    <title>信息管理系统界面</title>
    <script type="text/javascript">
        $(function () {
            //导航切换
            $(".menuson li").click(function () {
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });

            $('.title').click(function () {
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if ($ul.is(':visible')) {
                    $(this).next('ul').slideUp();
                } else {
                    $(this).next('ul').slideDown();
                }
            });
        })
    </script>
</head>
<body style="background:#f0f9fd;">
<div class="lefttop"><span></span>通讯录</div>
<dl class="leftmenu">
<#list  UserUtils.getMenuList() as item>
    <#if '${item.parent.id}' == '${parentId}'>
        <dd>
            <div class="title">
                <span><img src="${base}${item.icon}"/></span>管理信息
            </div>
            <ul class="menuson">
                <#list  UserUtils.getMenuList() as itemSon>
                    <#if '${itemSon.parent.id}' == '${item.id}'>
                        <#if '${item.sort}' == 1 && '${itemSon.sort}' == 1>
                            <#assign href = '${base}${itemSon.href}'/>
                            <li class="active"><cite></cite><a href="${base}${itemSon.href}"
                                                               target="rightFrame">${itemSon.name}</a><i></i></li>
                        <#else>
                            <li><cite></cite><a href="${base}${itemSon.href}"
                                                target="rightFrame">${itemSon.name}</a><i></i></li>
                        </#if >
                    </#if>
                </#list>
            </ul>
        </dd>
    </#if>
</#list>
</dl>
<div class="rightMenu">
    <iframe src='${href}' scrolling="No" name="rightFrame" id="rightFrame" title="rightFrame"
            class="rightFrame"></iframe>
</div>
</body>
</html>
